docker run -d --name mysql \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=zxxyp \
-v /root/mysql/data:/var/lib/mysql \
--network=my-network \
mysql:8.0.27 \
--default-authentication-plugin=mysql_native_password \
--bind-address=0.0.0.0 \
--character-set-server=utf8mb4 \
--collation-server=utf8mb4_unicode_ci \
--max_allowed_packet=128M \
--innodb_buffer_pool_size=2G \
--innodb_log_file_size=512M \
--innodb_flush_log_at_trx_commit=2 \
--skip-name-resolve \
--skip-character-set-client-handshake \
--explicit_defaults_for_timestamp
